﻿using DevExpress.LookAndFeel;
using DevExpress.Skins;
using DevExpress.UserSkins;
using Licens;
using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;

namespace QLBanHang
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            SkinManager.EnableFormSkins();
            BonusSkins.Register();
            UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");
            frmactivekey frmactivekey = new frmactivekey();
            if (!frmactivekey.f_kiemtra_dangkylicenses())
            {
                frmactivekey.ShowDialog();
                if (!frmactivekey.pActiveSuccess)
                {
                    return;
                }
            }
            Application.Run(new QLPhongMach.frmMain());
        }
    }
}